/*
 *
 *  * Copyright (c) 2016. For Intelligent Group.
 *
 */

package com.intelligent.ispc.client.event;

/**
 * Created by Peter on 2016/7/26.
 */
public class StatusBarProcessCreateTaskEvent {
    private String taskName;
    private boolean showLog;

    /**
     * Constructor.
     *
     * @param taskName String
     */
    public StatusBarProcessCreateTaskEvent(String taskName) {
        this.taskName = taskName;
        this.showLog = false;
    }

    /**
     * Constructor.
     *
     * @param taskName String
     * @param showLog  boolean true means show the log.
     */
    public StatusBarProcessCreateTaskEvent(String taskName, boolean showLog) {
        this.taskName = taskName;
        this.showLog = showLog;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public boolean isShowLog() {
        return showLog;
    }

    public void setShowLog(boolean showLog) {
        this.showLog = showLog;
    }
}
